﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="reportapp.aspx.cs" Inherits="SF.Ucenter.admin.statistics.reportapp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>当前订单报表分析</title>
    <script type="text/javascript" charset="utf-8" src="../../scripts/jquery/jquery-1.11.2.min.js"></script>
    <script type="text/javascript" charset="utf-8" src="../js/common.js"></script>
    <script type="text/javascript" charset="utf-8"  src="js/highcharts.js"></script>
    <script type="text/javascript" charset="utf-8"  src="js/exporting.js"></script>
    <script type="text/javascript">
        var api = top.dialog.get(window); //获取父窗体对象
        //页面加载完成执行
        $(function () {
            //设置按钮及事件
            api.button([{
                value: '返回',
                callback: function () { }
            }]);
        });

        $(function () {
            $('#container').highcharts({
                title: {
                    text: '各地区销量以及销售额'
                },
                xAxis: {
                    categories: [<%=order_Report[0] %>]
                },
                yAxis: [{
                    title: {
                        text: '订单数量'
                    },
                    min: 0,
                    allowDecimals: false,
                    plotLines: [{
                        value: 0,
                        width: 1,
                        color: '#808080'
                    }]
                },
                {
                    title: {
                        text: '金额'
                    },
                    opposite: true,
                    min: 0,
                    plotLines: [{
                        value: 0,
                        width: 1,
                        color: '#FFFF33'
                    }]
                }], 
                series: [<%=order_Report[1] %>]
            });
        });
    </script>
</head>

<body style="margin: 0;"> 
     <div id="container" style="min-width:600px;height:350px"></div>
</body>
</html>